FROM mysql:8.0.27

MAINTAINER hzq(670952964@qq.com)

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY ./account.sql /docker-entrypoint-initdb.d

COPY ./nacos.sql /docker-entrypoint-initdb.d

COPY ./order.sql /docker-entrypoint-initdb.d

COPY ./product.sql /docker-entrypoint-initdb.d

COPY ./seata.sql /docker-entrypoint-initdb.d